-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
Bootstrap config: libgccjit libs dir #149354
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bootstrap config: libgccjit libs dir #149354
Conversation
|
This PR changes how GCC is built. Consider updating src/bootstrap/download-ci-gcc-stamp. This PR modifies If appropriate, please update |
|
|
|
@Kobzol: I'm sending this PR to gather some feedback from you or others. How can I add tests for this new bootstrap config? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
☔ The latest upstream changes (presumably #149348) made this pull request unmergeable. Please resolve the merge conflicts. |
1bf3007 to
2125647
Compare
|
I will focus on #149426 first, as I think that we should first deal with the compiler/cg_gcc side of things, before we go modify bootstrap. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes sense, although the implementation needs some changes. I'd be happy to play with this if you don't want to deal with doing these bootstrap changes.
|
☔ The latest upstream changes (presumably #149426) made this pull request unmergeable. Please resolve the merge conflicts. |
3368381 to
3541668
Compare
7eb0416 to
dc178b5
Compare
|
I refactored the code a bit to more explicitly model that we have multiple target libgccjit dylibs per host, and also to enable both downloading from CI and using prebuilt libgccjit.so files (so that people don't also have to build their x64 libgccjit.so from scratch). Please let me know if it makes sense to you. |
This comment has been minimized.
This comment has been minimized.
This commit makes sense to me. |
If you already have it prepared, yeah, you could try it. Although CI failed, so maybe there's something else wrong. |
Good. I try that right away. |
The command finished running and the issue with the m68k |
This comment was marked as outdated.
This comment was marked as outdated.
|
@bors try jobs=dist-x86_64-illumos |
This comment has been minimized.
This comment has been minimized.
…=<try> Bootstrap config: libgccjit libs dir try-job: dist-x86_64-illumos
|
💔 Test for 3199702 failed: CI. Failed jobs:
|
|
lol |
| # ``` | ||
| # <libgccjit-libs-dir> | ||
| # ├── m68k-unknown-linux-gnu | ||
| # │ └── m68k-unknown-linux-gnu | ||
| # │ └── libgccjit.so | ||
| # └── x86_64-unknown-linux-gnu | ||
| # ├── m68k-unknown-linux-gnu | ||
| # │ └── libgccjit.so | ||
| # └── x86_64-unknown-linux-gnu | ||
| # └── libgccjit.so | ||
| # ``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe python does not like these?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to add encoding="utf-8" to the call to open?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's try it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's try it.
This comment has been minimized.
This comment has been minimized.
|
@bors try jobs=dist-x86_64-illumos |
…=<try> Bootstrap config: libgccjit libs dir try-job: dist-x86_64-illumos
This comment has been minimized.
This comment has been minimized.
|
@Kobzol: I'll let you approve the new change. It makes the job pass. |
|
@bors r+ rollup=never |
|
☀️ Test successful - checks-actions |
What is this?This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.Comparing 21ff67d (parent) -> cec7008 (this PR) Test differencesShow 2 test diffs2 doctest diffs were found. These are ignored, as they are noisy. Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard cec70080fd441d16e9fb08a0d1d1a04c72d1ed25 --output-dir test-dashboardAnd then open Job duration changes
How to interpret the job duration changes?Job durations can vary a lot, based on the actual runner instance |
|
Finished benchmarking commit (cec7008): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)Results (secondary 4.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 479.832s -> 479.175s (-0.14%) |
r? @Kobzol